package com.tz.actions;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;


/**
 * Created by Administrator on 16-9-28.
 */
@Namespace("/user")
@Result(name = "success", location = "/user-list.jsp")
public class UserList implements com.opensymphony.xwork2.Action {

    @Action("list")
    @Override
    public String execute() throws Exception {
        //...
        return "success";
    }

   /* @Action("list")
    public String execute(){
        //...
        return "success";
    }*/

}
